package com.itheima.exerciseTest.method20_29.method24;

import java.util.concurrent.ArrayBlockingQueue;

public class Desk {
    // 阻塞队列
    private ArrayBlockingQueue<String> abq;

    public Desk() {
        this(new ArrayBlockingQueue<>(1));
    }

    public Desk(ArrayBlockingQueue<String> abq) {
        this.abq = abq;
    }

    public ArrayBlockingQueue<String> getAbq() {
        return abq;
    }

    public void setAbq(ArrayBlockingQueue<String> abq) {
        this.abq = abq;
    }

}
